//
//  PurchasePictureBottomView.m
//  GLGW_Shoping
//
//  Created by yang on 2018/12/12.
//  Copyright © 2018年 yang. All rights reserved.
//

#import "PurchasePictureBottomView.h"

@implementation PurchasePictureBottomView

-(id)initWithFrame:(CGRect)aFrame inSuperView:(UIView *)aSuperView{
    if (self = [super initWithFrame:aFrame inSuperView:aSuperView]) {
        self.backgroundColor = [UIColor whiteColor];
        NSArray * titArr = @[@"分享",@"联系求购人"];
        for (int i=0; i<2; i++) {
            GLGWButton * but = [[GLGWButton alloc] initWithFrame:CGRectMake(KScreenWidth/2*i, 0, KScreenWidth/2, self.height) titleText:titArr[i] titleLableFont:SYSTEMFONT(10) titleLableColor:[UIColor colorWithHexString:@"#999999"] inSuperView:self];
            if (i==0) {
                GLGWView * lineView = [[GLGWView alloc] initWithFrame:CGRectMake(kX_With_View(but, 0), kHeightProportion_In_iPhoneTriploid(15), 1.0, kHeightProportion_In_iPhoneTriploid(30)) inSuperView:self];
                lineView.backgroundColor = [UIColor colorWithHexString:@"#DEDEDE"];
            }
        }
    }
    return self;
}

@end
